package com.cool.reggie.modules.employee.mapper;

import com.cool.reggie.modules.employee.entity.EmployeeEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cool.reggie.modules.employee.form.PageSearchForm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 员工信息 Mapper 接口
 * </p>
 *
 * @author 1950735817@qq.com
 * @since 2022-07-01
 */
@Mapper
public interface EmployeeMapper extends BaseMapper<EmployeeEntity> {

    /**
     * 查询页面
     *
     * @param pageSearchForm 页面搜索表单
     * @return {@link List}<{@link EmployeeEntity}>
     */
    List<EmployeeEntity> queryPage(@Param("pageSearchForm") PageSearchForm pageSearchForm);
}
